package com.xz.example2.builder;

/**
 * @author 张志航     
 * @version V1.0.0
 * @projectName design_mode
 * @title     HeroBuilder   
 * @package    com.xz.example.builder  
 * @date   2019/11/27 19:01  
 * @explain
 */
public class DevilBuilder extends ActorBuilder {
    @Override
    public void buildType() {
        actor.setType("恶魔");
    }

    @Override
    public void buildSex() {
        actor.setSex("妖");
    }

    @Override
    public void buildFace() {
        actor.setFace("恐怖");
    }

    @Override
    public void buildCostume() {
        actor.setCostume("黑斗篷");
    }

    @Override
    public void buildHairstyle() {
        actor.setHairstyle("光头");
    }

    @Override
    public boolean isBarehead() {
        return true;
    }
}
